﻿using HWInfo.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HWInfo
{
    /// <summary>
    /// 接口
    /// </summary>
    internal interface IHardwareInfo
    {
        /// <summary>
        /// 设备唯一序列号(机器码)
        /// </summary>
        string GetMachineSN(bool encrypt = true);

        /// <summary>
        /// 内存状态
        /// </summary>
        MemoryStatus MemoryStatus { get; }

        /// <summary>
        /// CPU温度
        /// </summary>
        float CpuTemperature { get; }

        /// <summary>
        /// CPU使用率
        /// </summary>
        float CpuUsage { get; }

        /// <summary>
        /// 磁盘信息
        /// </summary>
        List<Disk> HDD { get; }

        List<NetworkAdapter> NetworkAdapters { get; }
    }
}
